package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户菜单列表字段
 * </p>
 *
 * @author liuyj
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_resource_user_col")
@ApiModel(value="ResourceUserCol对象", description="用户菜单列表字段")
public class ResourceUserCol extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "code")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "用户code")
    @TableField("party_code")
    private String partyCode;

    @ApiModelProperty(value = "菜单code")
    @TableField("resource_code")
    private String resourceCode;

    @ApiModelProperty(value = "字段")
    @TableField("col")
    private String col;

    @ApiModelProperty(value = "字段名")
    @TableField("col_name")
    private String colName;

    @ApiModelProperty(value = "是否选中 0选中,1未选")
    @TableField("is_checked")
    private Integer isChecked;

    @ApiModelProperty(value = "是否可排序 0可以,1不可以")
    @TableField("is_can_sort")
    private Integer isCanSort;

    @ApiModelProperty(value = "是否可检索 0可以,1不可以")
    @TableField("is_can_search")
    private Integer isCanSearch;

    @ApiModelProperty(value = "显示顺序，正序")
    @TableField("sort")
    private Integer sort;


}
